package cn.wolfcode.crm.query;

import lombok.Data;
import org.springframework.util.StringUtils;

@Data
public class CourseOrderQuery extends QueryObject {
    private Long courseId = -1L;
    private String keyword;

    public String getKeyword() {
        //如果传的是空字符串的话就返回null    就不查
        return StringUtils.hasLength(keyword) ? keyword.trim() : null;
    }
}
